﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CRM.MODEL.Ali
{

    #region 存储过程 Pro_GetAli_Maintenance 的相关参数
    /// <summary>
    /// Pro_GetAli_Maintenance 的相关参数
    ///Ali_Maintenance
    ///xialei
    /// </summary>
    [Serializable]
    public struct GetAli_Maintenance
    {
        //参数定义	 		     
        public const string IDPARM = "@ID";
        public const string SUPPLIERIDPARM = "@SupplierID";
        public const string ORDERIDPARM = "@OrderID";
        public const string MAINTPOINTGETPRODUCTTIMEPARM = "@MaintPointGetProductTime";
        public const string MAINTENANCESTARTTIMEPARM = "@MaintenanceStartTime";
        public const string MAINTENANCEENDTIMEPARM = "@MaintenanceEndTime";
        public const string MAINTPOINTSENDPRODUCTTIMEPARM = "@MaintPointSendProductTime";
        public const string USERGETPRODUCTTIMEPARM = "@UserGetProductTime";
        public const string USEREXPRESSTYPEPARM = "@UserExpressType";
        public const string USEREXPRESSAMOUNTPARM = "@UserExpressAmount";
        public const string MAINTENANCENOPARM = "@MaintenanceNO";
        public const string MAINTENANCESTATUSPARM = "@MaintenanceStatus";
        public const string REMARKPARM = "@Remark";
        //分页参数定义  
        public const string ORDERSTRING_PARM = "@OrderString";
        public const string PAGESIZE_PARM = "@PageSize";
        public const string CURRENTPAGEINDEX_PARM = "@CurrentPageIndex";
        public const string TOTALITEMS_PARM = "@TotalItems";

        //字段属性设置
        private object ID;
        public object IDVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.ID); }
            set
            { this.ID = value; }
        }

        private object SupplierID;
        public object SUPPLIERIDVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.SupplierID); }
            set
            { this.SupplierID = value; }
        }

        private object OrderID;
        public object ORDERIDVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.OrderID); }
            set
            { this.OrderID = value; }
        }

        private object MaintPointGetProductTime;
        public object MAINTPOINTGETPRODUCTTIMEVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintPointGetProductTime); }
            set
            { this.MaintPointGetProductTime = value; }
        }

        private object MaintenanceStartTime;
        public object MAINTENANCESTARTTIMEVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceStartTime); }
            set
            { this.MaintenanceStartTime = value; }
        }

        private object MaintenanceEndTime;
        public object MAINTENANCEENDTIMEVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceEndTime); }
            set
            { this.MaintenanceEndTime = value; }
        }

        private object MaintPointSendProductTime;
        public object MAINTPOINTSENDPRODUCTTIMEVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintPointSendProductTime); }
            set
            { this.MaintPointSendProductTime = value; }
        }

        private object UserGetProductTime;
        public object USERGETPRODUCTTIMEVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.UserGetProductTime); }
            set
            { this.UserGetProductTime = value; }
        }

        private object UserExpressType;
        public object USEREXPRESSTYPEVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.UserExpressType); }
            set
            { this.UserExpressType = value; }
        }

        private object UserExpressAmount;
        public object USEREXPRESSAMOUNTVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.UserExpressAmount); }
            set
            { this.UserExpressAmount = value; }
        }

        private object MaintenanceNO;
        public object MAINTENANCENOVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceNO); }
            set
            { this.MaintenanceNO = value; }
        }

        private object MaintenanceStatus;
        public object MAINTENANCESTATUSVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceStatus); }
            set
            { this.MaintenanceStatus = value; }
        }

        private object Remark;
        public object REMARKVALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Remark); }
            set
            { this.Remark = value; }
        }


        //分页属性设置
        private object OrderString;
        public object ORDERSTRING_VALUE
        {
            get { return CRM.UTIL.Common.TransQuote(this.OrderString); }
            set { this.OrderString = value; }
        }

        private object PageSize;
        public object PAGESIZE_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.PageSize, CRM.UTIL.Common.DefaultPageSize); }
            set { this.PageSize = value; }
        }

        private object CurrentPageIndex;
        public object CURRENTPAGEINDEX_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.CurrentPageIndex, CRM.UTIL.Common.DefaultCurrentPageIndex); }
            set { this.CurrentPageIndex = value; }
        }

        private object TotalItems;
        public object TOTALITEMS_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.TotalItems); }
            set { this.TotalItems = value; }
        }

    }
    #endregion

    #region 存储过程 Pro_EditAli_Maintenance 的相关参数
    /// <summary>
    /// Pro_EditAli_Maintenance 的相关参数
    ///Ali_Maintenance
    ///xialei
    /// </summary>
    [Serializable]
    public struct EditAli_Maintenance
    {
        //动作参数
        public const string ACTION_PARM = "@Action";
        //错误信息参数
        public const string ERRMSG_PARM = "@errMsg";

        public const string OUTID_PARM = "@OutID";
        ////表字段参数
        public const string IDPARM = "@ID";
        public const string SUPPLIERIDPARM = "@SupplierID";
        public const string ORDERIDPARM = "@OrderID";
        public const string MAINTPOINTGETPRODUCTTIMEPARM = "@MaintPointGetProductTime";
        public const string MAINTENANCESTARTTIMEPARM = "@MaintenanceStartTime";
        public const string MAINTENANCEENDTIMEPARM = "@MaintenanceEndTime";
        public const string MAINTPOINTSENDPRODUCTTIMEPARM = "@MaintPointSendProductTime";
        public const string USERGETPRODUCTTIMEPARM = "@UserGetProductTime";
        public const string USEREXPRESSTYPEPARM = "@UserExpressType";
        public const string USEREXPRESSAMOUNTPARM = "@UserExpressAmount";
        public const string MAINTENANCENOPARM = "@MaintenanceNO";
        public const string MAINTENANCESTATUSPARM = "@MaintenanceStatus";
        public const string REMARKPARM = "@Remark";


        //动作属性
        private object Action;
        public object ACTION_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Action); }
            set
            { this.Action = value; }
        }

        //错误信息属性
        private object errMsg;
        public object ERRMSG_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.errMsg); }
            set
            { this.errMsg = value; }
        }

        private object OutID;
        public object OUTID_VALUE
        {
            get { return CRM.UTIL.Common.TransValue(this.OutID); }
            set { this.OutID = value; }
        }

        //表字段属性
        private object ID;
        public object ID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.ID); }
            set
            { this.ID = value; }
        }

        private object SupplierID;
        public object SUPPLIERID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.SupplierID); }
            set
            { this.SupplierID = value; }
        }

        private object OrderID;
        public object ORDERID_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.OrderID); }
            set
            { this.OrderID = value; }
        }

        private object MaintPointGetProductTime;
        public object MAINTPOINTGETPRODUCTTIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintPointGetProductTime); }
            set
            { this.MaintPointGetProductTime = value; }
        }

        private object MaintenanceStartTime;
        public object MAINTENANCESTARTTIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceStartTime); }
            set
            { this.MaintenanceStartTime = value; }
        }

        private object MaintenanceEndTime;
        public object MAINTENANCEENDTIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceEndTime); }
            set
            { this.MaintenanceEndTime = value; }
        }

        private object MaintPointSendProductTime;
        public object MAINTPOINTSENDPRODUCTTIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintPointSendProductTime); }
            set
            { this.MaintPointSendProductTime = value; }
        }

        private object UserGetProductTime;
        public object USERGETPRODUCTTIME_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.UserGetProductTime); }
            set
            { this.UserGetProductTime = value; }
        }

        private object UserExpressType;
        public object USEREXPRESSTYPE_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.UserExpressType); }
            set
            { this.UserExpressType = value; }
        }

        private object UserExpressAmount;
        public object USEREXPRESSAMOUNT_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.UserExpressAmount); }
            set
            { this.UserExpressAmount = value; }
        }

        private object MaintenanceNO;
        public object MAINTENANCENO_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceNO); }
            set
            { this.MaintenanceNO = value; }
        }

        private object MaintenanceStatus;
        public object MAINTENANCESTATUS_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.MaintenanceStatus); }
            set
            { this.MaintenanceStatus = value; }
        }

        private object Remark;
        public object REMARK_VALUE
        {
            get
            { return CRM.UTIL.Common.TransValue(this.Remark); }
            set
            { this.Remark = value; }
        }

    }
    #endregion
}
